/*
 * Outlink.h
 *
 *  Created on: Nov 22, 2009
 *      Author: abhishek
 */

#ifndef OUTLINK_H_
#define OUTLINK_H_

#include "Headers.h"

class Outlink {
public:
	Outlink();
	virtual ~Outlink();

	int degree(){
		return degree_ ;
	}

	void degreeIs(int degree);

	int destinationAt(int index);
	int destinationIs(int index, int value);

	string toString();

private:
	int degree_ ;
	int* destinations_ ;
};

#endif /* OUTLINK_H_ */
